﻿@model Core.Models.MainMenu

@{
    ViewBag.Title = "Delete Main Menu Option";
}

<h2>@ViewBag.Title</h2>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(false)
    <fieldset>
        @Html.HiddenFor(model => model.MenuItemId)
        @Html.HiddenFor(model => model.DomainId)

        <div class="display-label">
            @Html.LabelFor(model => model.Name)
        </div>
        <div class="display-field">
            @Html.DisplayFor(model => model.Name)
        </div>

        <div class="display-label">
            @Html.LabelFor(model => model.URL)
        </div>
        <div class="display-field">
            @Html.DisplayFor(model => model.URL)
        </div>

        <div class="display-label">
            @Html.LabelFor(model => model.UserPermission)
        </div>
        <div class="display-field">
            @Html.DisplayFor(model => model.UserPermission)
        </div>

        <div class="display-label">
            @Html.LabelFor(model => model.Sequence)
        </div>
        <div class="display-field">
            @Html.DisplayFor(model => model.Sequence)
        </div>
    </fieldset>
    <p>
        <br />
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}

